package com.t174.car.dao;

import com.t174.car.entity.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionDao {
    /**
     * 查询菜单
     * @return
     */
    public List<Permission> query(@Param("pid") int parentid,@Param("uid") int userId);

    public List<Permission> queryByPermissionIds(@Param("pids") List<Integer> parentid,@Param("uid") int userId);
}
